//
//  H_Rate.m
//  AccuroFit
//
//  Created by Yongfeng Li on 9/9/15.
//  Copyright (c) 2015 Nci Technology Inc. All rights reserved.
//

#import "H_Rate.h"
//#import "NSManagedObject.h"


@implementation H_Rate

@dynamic bodyId;
@dynamic hEnterDate;
@dynamic hEndDate;
@dynamic hRateId;
@dynamic bMemory;
@dynamic actType;
@dynamic actComm;
@dynamic nLastUpdIdx;
@dynamic nSyncType;
@dynamic hRateItems;

@end

@implementation HrateMeasData {
    NSString* _sMeasDate;
    short  _nRateIdx;
    float _fRateTime;
    float _fCalories;
    float _dDatePos;
}

-(void) formHrateData:(NSString *)dtMeas rateIdx:(short)nIdx dTime:(float)fTime calory:(float)fCalory
{
    _sMeasDate = [NSString stringWithString:dtMeas];
    _nRateIdx = nIdx;
    _fRateTime = fTime;
    _fCalories = fCalory;
}

@end
